home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / IDLIncludes / HIItemStorage.idl < prev    next >
Text File  |  1996-05-01  |  2KB  |  71 lines

  1. /*
  2.      File:        HIItemStorage.idl
  3.  
  4.      Contains:    Interfaces to the storage abstraction object that backs HILists and HITables.
  5.  
  6.      Version:    Technology:    System 8.0
  7.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  8.  
  9.      Copyright:    © 1995-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16. */
  17.  
  18.  
  19. #ifndef __HIITEMSTORAGE_IDL__
  20. #define __HIITEMSTORAGE_IDL__
  21.  
  22. #include <somobj.idl>
  23. #include <somcls.idl>
  24.  
  25. #include <Types.idl>
  26. #include <HIObjects.idl>
  27. #include <HIImagingObjects.idl>
  28.  
  29. /* ########################################################################
  30.  
  31.     HIStorage
  32.     
  33.         Storage for list/table items
  34.         
  35.    ######################################################################## */
  36. interface HIItemStorage : SOMObject
  37. {
  38.     OSStatus    Init();
  39.     void        Terminate();
  40.     
  41.     OSStatus    AddRows( in UInt32 rowIndex, in UInt32 rowCount );        
  42.     OSStatus    AddColumns( in UInt32 columnIndex, in UInt32 columnCount );    
  43.     OSStatus    DeleteRow( in UInt32 rowIndex );    
  44.     OSStatus    DeleteColumn( in UInt32 columnIndex );    
  45.     OSStatus    SetItemImage( in UInt32 rowIndex, in UInt32 columnIndex, 
  46.                                 in ConstHIImageRef imageRef, in HIAdoptionFlags imageAdoptionFlags);    
  47.     OSStatus    GetItemImage( in UInt32 rowIndex, in UInt32 columnIndex, out HIImageRef imageRefPtr );    
  48.  
  49.     #ifdef    __SOMIDL__
  50.     implementation
  51.     {
  52.         
  53.         passthru C_h =     "#include <HIObjects.h>"
  54.                         "#include <HIImagingObjects.h>";
  55.         passthru C_xh = "#include <HIObjects.xh>"
  56.                         "#include <HIImagingObjects.xh>";
  57.         
  58.         releaseorder:    Init,
  59.                         Terminate,
  60.                         AddRows,
  61.                         AddColumns,
  62.                         DeleteRow,
  63.                         DeleteColumn,
  64.                         SetItemImage,
  65.                         GetItemImage;
  66.     };
  67.     #endif
  68. };
  69.  
  70. #endif
  71.